package org.feiye.studyday04;

import java.util.Scanner;

public class Plus {

	public static void main(String[] args) {
		// 输出如图所示加法表
		Scanner sc = new Scanner(System.in);
		System.out.println("请输入一个数字：");
		int num = sc.nextInt();
		for (int i = 0, j = num; i <= num; i++, j--) {
			System.out.println(i + " + " + j + " = " + num);
		}

	}

}
